//
//  LYAnnotation.h
//  Map
//
//  Created by yi liu on 16/8/1.
//  Copyright © 2016年 毛丽媛. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface LYAnnotation : NSObject<MKAnnotation>
@property (nonatomic) CLLocationCoordinate2D coordinate;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subtitle;
@property(nonatomic,strong)UIImageView *locationPic;
@property(nonatomic,strong)UIImageView *phonePic;

#pragma mark 自定义一个图片属性在创建大头针视图时使用
@property (nonatomic,strong) UIImage *image;

@end
